package org.ala.test_feign.feign;

import java.util.List;

import org.ala.rpc_test.test_biz.OrderDO;
import org.ala.rpc_test.test_biz.OrderItemDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 *
 *	@author ala
 *	@date 2025年5月2日
 */
@FeignClient(name="orderInterface", url="http://localhost:53001")
public interface IOrderInterface {

	
	@PostMapping("/test-order")
	List<OrderItemDO> items(@RequestBody OrderDO order); 
}
